package edu.sandau.basic.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

@Data
@Schema(description = "角色实体类")
public class Role {
    @Schema(description = "角色ID", example = "1", accessMode = Schema.AccessMode.READ_ONLY)
    private Integer id;

    @Schema(description = "角色编码（唯一）", example = "admin")
    private String rolecode;

    @Schema(description = "是否启用", example = "true")
    private Boolean isActive;

    @Schema(description = "创建时间")
    private Date createtime;

    @Schema(description = "更新时间")
    private Date updatetime;

    @Schema(description = "创建人ID")
    private Integer createperson;

    @Schema(description = "更新人ID")
    private Integer updateperson;
}
